package com.sean.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * TODO
 *
 * @author 59244
 * @date 2022/1/24 11:49
 */
@Data
public class SearchParam {

    private String keyword;//页面传递过来的全文匹配关键字
    private Long catalog3Id;//三级分类的id

    /*
     * saleCount_asc/desc
     * skuPrice_asc/desc
     * hotScore_asc/desc
     */
    private String sort;//排序条件

    /*
     * 过滤条件
     * hasStock是否有货0/1、 skuPrice区间 1_500/_500/500_、品牌Id brandId、 catalog3Id、attrs 1_5寸:6寸
     */
    private Integer hasStock;
    private String skuPrice;
    private List<Long> brandId;//可以多选
    private List<String> attrs;

    private Integer pageNum = 1;//页码

    private String _queryString;//原生的所有查询条件
}
